MPHB\Advanced\Api\Controllers\AbstractRestObjectController B

Total Complexity 79
Dependencies 8
Dependents 0
Total lines 883
Lines of code 505
Logical lines of code 212
Comment lines 264
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
delete_item()
A
45 10 39
get_items()
A
42 9 53
prepareQuery()
A
47 7 36
get_collection_params()
S
38 3 87
prepare_item_for_database()
S
51 7 26
update_item()
S
49 6 31
prepare_items_query()
S
55 6 18
create_item()
S
50 4 28
register_routes()
S
41 1 73
get_item()
S
56 3 17
get_allowed_query_vars()
S
51 2 29
delete_item_permissions_check()
S
66 3 7
update_item_permissions_check()
S
66 3 7
get_item_permissions_check()
S
66 3 7
prepare_item_for_response()
S
63 2 9
batch_items_permissions_check()
S
69 2 6
create_item_permissions_check()
S
69 2 6
get_items_permissions_check()
S
69 2 6
prepare_links()
S
63 1 11
delete_post()
S
80 1 3
get_item_schema()
S
80 1 3
__construct()
S
80 1 3